import { createApp } from 'vue'
import App from './App.vue'

// 引入路由
import router from './router'

// createApp(App).use(router).mount('#app')

const app = createApp(App)
// 使用路由
app.use(router)
// 挂载整个应用
app.mount('#app')
